﻿@model JuniorProject.Models.Employee.ECMList

@{
    ViewBag.Title = "ApplicationDetails_Comments";
}

@Html.Partial("_EmployeeTopNavBar", ViewData["ApplicationID, AccessLevel"])
<h2>
Application Comments
</h2>
<br />

<fieldset>
    <legend>Comments</legend>
    @foreach (var item in Model.Comments)
    {
        <div class="display-group">
            <div class="display-label">
                 @Html.DisplayNameFor(modelItem => item.Comment)
            </div>
            <div class="display-field">
                @Html.DisplayFor(modelItem => item.Comment)
            </div>

            <div class="display-label">
                 @Html.DisplayNameFor(modelItem => item.ApplicantVisible)
            </div>
            <div class="display-field">
                @Html.DisplayFor(modelItem => item.ApplicantVisible)
            </div>
    
            <div class="display-label">
                 @Html.DisplayNameFor(modelItem => item.Employee)
            </div>
            <div class="display-field">
                @Html.DisplayFor(modelItem => item.Employee)
            </div>
        
            <div class="display-label">
                 @Html.DisplayNameFor(modelItem => item.InsertDate)
            </div>
            <div class="display-field">
                @Html.DisplayFor(modelItem => item.InsertDate)
            </div>
        </div>
        <br />
    }
</fieldset>

@Html.ActionLink("Add New Comment", "AddComment", new { id = ViewData["ApplicationID"] })

<p>
    @Html.Partial("_EmployeeBottomNavBar", ViewData["AccessLevel"])
</p>